package com.example.clock.cofig;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component //注册bean
@ConfigurationProperties(prefix = "dingtalk")
public class DingtalkProperties {
    private String appkey;
    private String appsecret;
}